<?php
include("database.php");
$sql = "SELECT * FROM phb  ORDER BY `num` ASC";
$res=$conn->query($sql);
$data=$res->fetch_all();
$conn->close();
echo json_encode($data);
?>
